#ifndef VOLTLABEL_H
#define VOLTLABEL_H

#include <QtCore/QObject>
#include <QWidget>
#include <QPainter>

class VoltLabel : public QWidget
{
  Q_OBJECT
public:
#ifdef Q_OS_WIN32
  explicit VoltLabel(QWidget *parent = nullptr);
#elif defined(Q_OS_LINUX)
  explicit VoltLabel(QWidget *parent = 0);
#endif

  void paintEvent(QPaintEvent *);

  void setVoltValue(const qint32 &value);

  void setAmpValue(const qint32 &value);

signals:

public slots:

private:
  qint32 voltValue;
  qint32 ampValue;
};

#endif // VOLTLABEL_H
